home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 60914 / 60914.xpi / chrome / content / personas.xul < prev    next >
Extensible Markup Language  |  2010-01-20  |  10KB  |  203 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://personasrotator/locale/personas.dtd">
  4. <!--<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>-->
  5. <?xml-stylesheet href="chrome://personasrotator/skin/computed.css" type="text/css"?>
  6. <?xml-stylesheet href="chrome://personasrotator/skin/personas.css" type="text/css"?>
  7.  
  8. <window chromehidden="menubar toolbar location directories status extrachrome"
  9.         class="dialog" title="Personas Rotator" orient="vertical"
  10.         autostretch="always"
  11.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         xmlns:html="http://www.w3.org/1999/xhtml"
  13.         id="personasrotatorwindow">
  14.     
  15.     <script type="application/x-javascript" src="chrome://personasrotator/content/personasrotatorrdf.js"/>    
  16.     <script type="application/x-javascript" src="chrome://personasrotator/content/personasrotatorfileio.js"/>    
  17.     <script type="application/x-javascript" src="chrome://personasrotator/content/personas.js"/>
  18.     <script type="application/x-javascript" src="chrome://personasrotator/content/select.js"/>
  19.     <script type="application/x-javascript">
  20.         
  21.         var activecollectionbuttonpersonaimage=new Image();
  22.         activecollectionbuttonpersonaimage.src="chrome://personasrotator/skin/activecollectionbutton.png";
  23.         
  24.         var collectionbuttonhoverpersonaimage=new Image();
  25.         collectionbuttonhoverpersonaimage.src="chrome://personasrotator/skin/hoverstatecollectionbutton.png";
  26.         
  27.         var highlightedpersonaimage=new Image();
  28.         highlightedpersonaimage.src="chrome://personasrotator/skin/highlightedthumbpersona.png";    
  29.         
  30.         var hoverredpersonaimage=new Image();
  31.         hoverredpersonaimage.src="chrome://personasrotator/skin/hoverthumbpersona.png";
  32.         
  33.         var newshoverredpersonaimage=new Image();
  34.         newshoverredpersonaimage.src="chrome://personasrotator/skin/hovernewsthumbpersona.png";    
  35.         
  36.         var collectionaddbuttonimage=new Image();
  37.         collectionaddbuttonimage.src="chrome://personasrotator/skin/addbutton.png";
  38.  
  39.     </script>
  40.  
  41.     <menupopup id="image-popup" onpopupshowing="PersonasWindow.contextMenuPopupHandle(event)" onpopuphiding="">
  42.     
  43.         <menuitem id="image-open" label="&personas.Open;" oncommand="PersonasWindow.showitem(document.popupNode)"/>
  44.         <menuitem id="image-upload" label="&personas.Upload;"  oncommand="PersonasWindow.uploaditem(document.popupNode)"/>
  45.         <menuseparator/>
  46.         <menuitem id="image-edit" label="&personas.EditDetails;" oncommand="PersonasWindow.handleeditclick(document.popupNode)"/>
  47.         <menuitem id="image-edit-persona" label="&personas.EditPersona;" oncommand="PersonasWindow.handleeditpersonaclick(document.popupNode)"/>
  48.         <menuseparator/>
  49.         <menuitem id="image-copy" label="&personas.Copy;" oncommand="PersonasWindow.activatecopyitem()"/>
  50.         <menuitem id="image-cut" label="&personas.Cut;" oncommand="PersonasWindow.activatecutitem()"/>
  51.         <menuitem id="image-paste" label="&personas.Paste;"  oncommand="PersonasWindow.activatepasteitem(event)"/>
  52.         <menuitem id="image-delete" label="&personas.Delete;" oncommand="PersonasWindow.activatedeleteitem();"/>
  53.     
  54.     </menupopup>
  55.     
  56.     <menupopup id="button-popup" onpopupshowing="PersonasWindow.buttonpopupshow(event)" onpopuphiding="">
  57.     
  58.         <menuitem id="button-delete" label="&personas.DeleteCollection;" oncommand="PersonasWindow.deletebutton(document.popupNode)"/>
  59.         <menuitem id="button-paste" label="&personas.PasteIntoCollection;" oncommand="PersonasWindow.activatepasteitem(event)"/>
  60.     
  61.     </menupopup>
  62.  
  63.     <stringbundleset>
  64.     
  65.         <stringbundle id="personas-strings" src="chrome://personasrotator/locale/personas.properties"/>
  66.     
  67.     </stringbundleset>
  68.     
  69.     <vbox id="mainwrappervbox" flex="2" height="494" >
  70.         
  71.         <hbox id="mainhbox">
  72.         
  73.             <vbox onclick="PersonasWindow.openPersonasRotatorsite();" tooltiptext="Visit personasrotator.com" onmouseover="this.style.cursor='pointer'" id="mainlogowrappervbox">
  74.                 
  75.             </vbox>
  76.         
  77.             <hbox flex="1" pack="end" id="donatehbox">
  78.  
  79.                 <label value="HELP"  tooltiptext="How to Use Tutorials" onclick='PersonasWindow.handlehelpclick()' class="mainbutton" id="helpbutton" />
  80.                 <label value="DONATE"  tooltiptext="Donate to Personas Rotator project" onclick='PersonasWindow.handledonateclick()' class="mainbutton" id="donatebutton" />
  81.         
  82.             </hbox>
  83.         
  84.         </hbox>
  85.         
  86.         <hbox  height="38" id="navigationhbox">
  87.     
  88.             <hbox align="center" width="168">
  89.             
  90.                 <label id="new_collection_button" tooltiptext="Create another collection to store personas in" onclick="PersonasWindow.createnewcollection();" />
  91.         
  92.             </hbox>
  93.             
  94.         
  95.             <hbox id="editnavbuttons" height="34" align="center" class="buttoninactive">
  96.  
  97.                 <label id="edit_save_button" tooltiptext="Save changes" onclick="PersonasWindow.Editsave();" />
  98.                 
  99.             </hbox>
  100.             
  101.             <hbox id="gallerynavbuttons" height="34" align="center" class="buttoninactive">
  102.  
  103.                 <label  tooltiptext="Add Personas to The Collection" id="add_button" onclick="PersonasWindow.additems()"/>
  104.                 
  105.             </hbox>
  106.             
  107.             <hbox id="newsheading" height="34" align="center">
  108.             
  109.                 <description  id="hotsbutton" tooltiptext="Hot Personas from personasrotator.com"></description>
  110.                 
  111.             </hbox>
  112.             
  113.         </hbox>
  114.         
  115.         <hbox flex="2">
  116.  
  117.             <vbox id="collectionscolumn">
  118.                 
  119.             </vbox>
  120.                 
  121.             <stack  orient="vertical" height="204" width="589"   id="galleryvbox"  style="margin-right:-1px;">
  122.                 
  123.                 <scrollbox height="399" width="600" id="personapools"  orient="vertical" context="image-popup">
  124.                 
  125.                     <stack id="gallerystack">    
  126.                         
  127.                         <html:div xmlns:html="http://www.w3.org/1999/xhtml" id="helpdiv" class="inactive helphtmldiv htmldiv">
  128.  
  129.                                     <html:div id="viewwalltut" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" onclick="PersonasWindow.opentutorialpage(event.target)"> How to view personas</html:span></html:div>
  130.                                     <html:div id="addnewwalltut" onclick="PersonasWindow.opentutorialpage(event.target)" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" >How to add new personas</html:span></html:div>
  131.                                     <html:div id="installnewwalltut" onclick="PersonasWindow.opentutorialpage(event.target)" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" >How to install new personas</html:span></html:div>
  132.                                     <html:div id="wallposchangetut" onclick="PersonasWindow.opentutorialpage(event.target)" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" >How to change persona position</html:span></html:div>
  133.                                     <html:div id="browseinstwalltut" onclick="PersonasWindow.opentutorialpage(event.target)" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" >How to browse installed personas</html:span></html:div>
  134.                                     <html:div id="browsecomsitetut" onclick="PersonasWindow.opentutorialpage(event.target)" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" >How to browse community site</html:span></html:div>
  135.                                     <html:div id="uploadwalltut" onclick="PersonasWindow.opentutorialpage(event.target)" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" >How to upload personas</html:span></html:div>                                    
  136.                                     <html:div id="addnewcoltut" onclick="PersonasWindow.opentutorialpage(event.target)" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" >How to add new collection</html:span></html:div>
  137.                                     <html:div id="getfurtherhelptut" onclick="PersonasWindow.opentutorialpage(event.target)" xmlns:html="http://www.w3.org/1999/xhtml"><html:span class="tutorialimage" >How to get further help</html:span></html:div>
  138.                         
  139.                         </html:div>
  140.                         
  141.                         <html:div xmlns:html="http://www.w3.org/1999/xhtml" id="donatediv"  class="inactive donatehtmldiv htmldiv"><html:div id="donateheadingimage">DONATE</html:div><html:div id="donatedescription">This project would not be possible without your support. Our supporters get beta testing access, additional support and new features.</html:div><image id="donate_payp_but" tooltiptext="Click to visit our donation web page." onclick="PersonasWindow.visitDonationPage();" src="chrome://personasrotator/skin/donate_butt.png" /><html:div xmlns:html="http://www.w3.org/1999/xhtml"><html:img id="cardimage" xmlns:html="http://www.w3.org/1999/xhtml" src="chrome://personasrotator/skin/donate_cc.png" onclick="PersonasWindow.visitDonationPage();" /></html:div></html:div>
  142.                         
  143.                         <html:div xmlns:html="http://www.w3.org/1999/xhtml" id="newshtmldiv" class="htmldiv active">
  144.                         
  145.                             <image src="chrome://personasrotator/skin/mainwrlogo.png"/>
  146.                             
  147.                             <html:div><image id="visitcomsite" onclick="PersonasWindow.openPersonasRotatorsite();" src="chrome://personasrotator/skin/visitcommunitysite.png"/></html:div>
  148.                         
  149.                         </html:div>
  150.                         
  151.                     </stack>
  152.                     
  153.                 </scrollbox>
  154.  
  155.                     <vbox id="deleteinfo" class="info">
  156.                     
  157.                         <hbox>
  158.  
  159.                             <html:div id="aftercollectiondeleteimage">Collection deleted successfully!</html:div>
  160.                         
  161.                         </hbox>
  162.                     
  163.                     </vbox>
  164.                 
  165.                     <vbox id="progressinfo" class="info">
  166.                     
  167.                         <html:div     id="previewdiv" 
  168.                                     class="htmldiv">
  169.                                     
  170.                             <html:div id="preview_wrapper">
  171.                             
  172.                                 <html:img src="chrome://personasrotator/skin/preview_top_static_image.png" />
  173.                             
  174.                             </html:div>
  175.                                     
  176.                             <html:div id="progress_wrapper">
  177.                             
  178.                                 <html:img src="chrome://personasrotator/skin/progress_meter.png" />
  179.                             
  180.                                 <html:div id="hider_div">
  181.                             
  182.                                 </html:div>
  183.                                 
  184.                             </html:div>            
  185.                         
  186.                         </html:div>
  187.                     
  188.                     </vbox>
  189.                                     
  190.             </stack>
  191.     
  192.         </hbox>
  193.         
  194.     </vbox>
  195.         
  196.     <hbox id="canvaswrapper">
  197.     
  198.         <html:canvas id="canvas" width="138" height="109"></html:canvas>
  199.     
  200.     </hbox>    
  201.     
  202. </window>
  203.